package com.qf.lanzhou.shop.admin.service.impl;

import com.qf.lanzhou.shop.admin.dao.FeedbackShowMapper;
import com.qf.lanzhou.shop.admin.service.FeedbackShowService;
import com.qf.lanzhou.shop.pojo.entity.Feedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author jian
 * @Date 2021/1/11 15:20
 * @JDK 1.8
 * @Version 1.0
 */
@Service
public class FeedbackShowServiceimpl implements FeedbackShowService {

    @Autowired
    private FeedbackShowMapper feedbackShowMapper;

    @Override
    public List<Feedback> selectmessage(String message) {
        return feedbackShowMapper.selectmessage(message);
    }

    @Override
    public List<Feedback> selectmessageAll(String shopName) {
        return feedbackShowMapper.selectmessageAll(shopName);
    }
}
